package com.plian.system.entity.yth.nsgl;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 审计整改清单-问题清单表实体类
 *
 * @author zke
 * @since 2023-03-06
 */
@Data
@TableName("collection_problem_list")
@ApiModel(value = "ProblemList对象", description = "审计整改清单-问题清单表")
public class ProblemList extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主表ID
     */
    @ApiModelProperty(value = "主表ID")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long mainId;
    /**
     * 问题发生单位名称
     */
    @ApiModelProperty(value = "问题发生单位名称")
    private String problemUnitNm;
    /**
     * 问题发生单位ID
     */
    @ApiModelProperty(value = "问题发生单位ID")
    private String problemUnitId;
    /**
     * 机构名称
     */
    @ApiModelProperty(value = "机构名称")
    private String organizationNm;
    /**
     * 发现问题时间
     */
    @ApiModelProperty(value = "发现问题时间")
    private String problemDate;
    /**
     * 问题领域
     */
    @ApiModelProperty(value = "问题领域")
    private String problemDomain;
    /**
     * 问题性质
     */
    @ApiModelProperty(value = "问题性质")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer problemNature;
    /**
     * 问题表述
     */
    @ApiModelProperty(value = "问题表述")
    private String problemDescribe;
    /**
     * 定性依据
     */
    @ApiModelProperty(value = "定性依据")
    private String basis;
    /**
     * 整改类型
     */
    @ApiModelProperty(value = "整改类型")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer rectifyType;
    /**
     * 审计处理意见
     */
    @ApiModelProperty(value = "审计处理意见")
    private String auditOpinion;
    /**
     * 审计报告名称
     */
    @ApiModelProperty(value = "审计报告名称")
    private String auditReportNm;
    /**
     * 审计报告文号
     */
    @ApiModelProperty(value = "审计报告文号")
    private String auditReportSymbol;
    /**
     * 问题涉及具体事项
     */
    @ApiModelProperty(value = "问题涉及具体事项")
    private String specificMatter;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 租户id
     */
    @ApiModelProperty(hidden = true)
    private String tenantId;

}
